package com.cq.hd.app.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MyPageVo implements Serializable {

    @ApiModelProperty(value = "补贴金账户余额（商家显示）")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal subsidyAmt;

    @ApiModelProperty(value = "可提余额（经纪人显示）")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal commissionAmt;

    // 今日成交额：今日成交订单金额总和(不包含已退款，包含被分销的订单)；
    @ApiModelProperty(value = "今日成交额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal orderAmt;

    // 今日成交量：今日成交订单的数量总和(不包含已退款，包含被分销的订单)；
    @ApiModelProperty(value = "今日成交量")
    private Integer orderNum;

    // 今日成交人数：今日成交订单的人数总和(不包含已退款，包含被分销的订单)；
    @ApiModelProperty(value = "今日成交人数")
    private Integer orderUserNum;

    @ApiModelProperty(value = "待支付个数")
    private Integer waitPayOrderNum;

    @ApiModelProperty(value = "待核销个数")
    private Integer waitVerifyOrderNum;

    @ApiModelProperty(value = "商家入驻状态：0-未申请入驻，1-待审核，2-已通过，3-未通过，4-待认证")
    private Integer auditState = 0;

    @ApiModelProperty(value = "商家入驻审核拒绝原因")
    private String refuseReason;

    @ApiModelProperty(value = "是否要弹窗提示入驻成功")
    private Boolean popState = false;

}
